/*
* Copyright (c) 2007 by Kirill Kolodyazhniy.
* See the file "license.terms" for information on usage and redistribution.
*/

#ifndef M_DXGLOBALS_H_
#define M_DXGLOBALS_H_

#include "comptr.h"

#include "dxheaders.h"


namespace Engine
{
	/**
	*   Specific for direct3d objects, used for different purposes.
	*/
	struct Direct3DGlobals
	{
		ComPtr<IDirect3D9>       d3dInterface;///< reference to Direct3d COM object.
		ComPtr<IDirect3DDevice9> d3dDevice;   ///< reference to Direct3D device.
		D3DCAPS9                 d3dCaps;     ///< Direct3D device capabilities.
	};
}

#endif
